﻿<?php
echo "<table border=1>";echo "<tr>";echo "<th>";echo "id";echo "</th>";echo "<th>";echo "Popis";echo "</th>";echo "<th>";echo "Barva";echo "</th>";echo "<th>";echo "Typ";echo "</th>";echo "<th>";echo "Kaničky/Zip";echo "</th>";echo "<th>";echo "Podpateky";echo "</th>";echo "</tr>";
foreach($boty as $pom)
    {     
	
		
			echo "<tr>";
			echo "<td>";
	 echo $pom['Shoe']['id'];
	 echo "</td>";
			echo "<td>";
 echo $pom['Shoe']['popis'];
 echo "</td>";
			echo "<td>";
          echo $pom['Shoe']['Barva'];
		    echo "</td>";
			echo "<td>";
			if( $pom['Shoe']['Typ']==0){echo "sandále";}
		     if( $pom['Shoe']['Typ']==1){echo "kopačky";}
		     if( $pom['Shoe']['Typ']==2){echo "žabky";}

			echo "</td>";
			echo "<td>";
			echo $pom['Shoe']['lol'];
			echo "</td>";
			echo "<td>";
			echo $pom['Shoe']['Podpatek'];
			echo "</td>";
			echo "</tr>";
    
    }
?>